<div class="form">
<?php
echo CHtml::beginForm ( array ('login/check', 's' => $s ), 'post' );
?>
<?php

echo CHtml::errorSummary ( $model );
?>
<div class="row">
<?php
echo CHtml::activeLabel ( $model, 'username' );
?>
<?php

echo CHtml::activeTextField ( $model, 'username' )?>
</div>
<div class="row">
<?php
echo CHtml::activeLabel ( $model, 'password' );
?>
<?php

echo CHtml::activePasswordField ( $model, 'password' )?>
</div>
<div class="row rememberMe">
<?php
echo CHtml::activeCheckBox ( $model, 'rememberMe' );
?>
<?php

echo CHtml::activeLabel ( $model, 'rememberMe' );
?>
</div>
<div class="row submit">
<?php
echo CHtml::submitButton ( 'Login' );
?>
</div>
<?php
echo CHtml::endForm ();
?>
</div>
<!-- form -->